package com.hayrullah.cinema.Dao;

import java.util.List;

import com.hayrullah.cinema.entity.IEntity;

public interface IGenericDao<E extends IEntity> {

	public abstract boolean save(E entity);

	public abstract boolean delete(E entity);

	public abstract E findById(Long id);

	public abstract List<E> findAll();
	
	public abstract boolean update(E entity);
	

}
